<?php 
    $products = $this->NewProduct();
?>
<?php foreach($products as $product): ?>
    <?php $url = $this->url(array('product_name' => $this->ConvertStringToURL($product->name), 'product_id' => $product->id), 'product_detail', true); ?>
	<div class="new-product">
        <a href="<?php echo $url; ?>" title="<?php echo $product->name; ?>">
            <img src="<?php echo $product->image; ?>" />
        </a>
        <a href="<?php echo $url; ?>" title="<?php echo $product->name; ?>">
            <?php echo $product->name; ?><br />
            <?php echo number_format($product->price, 0, null, ".") . $this->translate('currency'); ?>
        </a>
    </div>
<?php endforeach; ?>